<?php
namespace App\Models;

use Illuminate\Database\Eloquent\Model;

/**
* @comment 商户表
*
* @property int $id
* @property string $name 商户姓名
* @property string $Nickname 昵称
* @property string $Merchant_number 商户号
* @property string $phone 手机号
* @property string $password 密码
* @property float $balance 余额
* @property float $commission 佣金余额
* @property int $time 注册时间
* @property string $Transaction_password 交易密码
* @property string $secret_key 商户密钥
* @property int $is_open 是否开关 1. 开 2. 关
* @property string $merchant_yunId 商户云宝系统的id
* @property string $merchant_yunKey 商户云宝系统秘钥
* @property string $merchant_yunUrl 商户云宝系统的网址
* @property int $is_on 1 = 已经添加信息完毕  2 = 没有添加id以及账户信息
* @property float $merchant_BalanceAlarm 余额报警阀门
* @property float $ranges 税率
* @property int $is_jsbopen 集市宝开关 1. 开 2. 关'
* @property int $is_goodsopen 1.开 2.关
* @property int $degree 等级id
* @property string $degree_name 等级名称
* @property int $kami_open 1.开启 2.关闭
* @property int $addfunds_open 1.开启 2.关闭
* @property int $pdd_open 1.开 2.关
* @property int $hmd_open 黑名单开关 1.开 2.关
* @property int $tb_rechargeopen 1.开 2.关
* @property int $important 1 = 重点商户   2 不是重点账户
* @property int $multiple_landing 1 = 多人  2 = 单人
* @property int $fenhu_open 分户开关:1=开启,2=关闭
* @property float $fenhu_service_charge 分户服务费总金额
* @property int $fenhu_service_charge_remind 分户服务费时效提醒(天)
* @property int $fenhu_service_charge_remind_open 分户服务费时效提醒开关
* @property string $wechat_openid 微信用户的openid
* @property int $jd_open 1.开 2.关
* @property int $pdd2_open 1.开启 2.关闭
* @property int $is_certification 1.已实名 2.未实名
* @property int $xy_open 1开 2关
* @property int $txm_open 淘小蜜开关
* @property int $yy_open 易约开关
* @property string $yy_MerchantID 易约商家编码
* @property string $yy_key 易约商家密钥
* @property int $kp_open 商户开票功能 1.打开 2.关闭
* @property int $tbprofit_open 1.开 2.关
* @property int $tob_refund_open 淘宝退款开关  1 = 开  2 = 关
* @property int $dy_open 1.开启2.关闭
* @property int $fl_open 1.开 2.关
* @property string $goods_price_url 商户商品推送地址
*
*/
class XnMerchant extends Model
{
    public $timestamps = false;

    /**
     * @var string
     */
    protected $connection = 'mysql';

    /**
     * @var string
     */
    protected $table = 'xn_Merchant';

    /**
     * @var string[]
    */
    protected $fillable = ['id', 'name', 'Nickname', 'Merchant_number', 'phone', 'password', 'balance', 'commission', 'time', 'Transaction_password', 'secret_key', 'is_open', 'merchant_yunId', 'merchant_yunKey', 'merchant_yunUrl', 'is_on', 'merchant_BalanceAlarm', 'ranges', 'is_jsbopen', 'is_goodsopen', 'degree', 'degree_name', 'kami_open', 'addfunds_open', 'pdd_open', 'hmd_open', 'tb_rechargeopen', 'important', 'multiple_landing', 'fenhu_open', 'fenhu_service_charge', 'fenhu_service_charge_remind', 'fenhu_service_charge_remind_open', 'wechat_openid', 'jd_open', 'pdd2_open', 'is_certification', 'xy_open', 'txm_open', 'yy_open', 'yy_MerchantID', 'yy_key', 'kp_open', 'tbprofit_open', 'tob_refund_open', 'dy_open', 'fl_open', 'goods_price_url'];


}
